import request from '@/utils/request'
const FACEAPIURL = '/plan-producer-server'
  

//穿插计划

/**
 * 穿插计划详情
 * @param data
 */
 export function queryPenetrationPlanQueryDetail(data) {
    return request({
        url: `${FACEAPIURL}/penetrationPlan/queryDetail`,
        method: 'post',
        data
    })
}

/**
 * 批量修改主要工序穿插点
 * @param data
 */
export function penetrationPlanEditMainProcessPoint(data) {
    return request({
        url: `${FACEAPIURL}/penetrationPlan/editMainProcessPoint`,
        method: 'post',
        data
    })
}

//分包进场计划

/**
 * 分包进场计划详情
 * @param data
 */
export function SubPlanEntryQueryDetail(data) {
    return request({
        url: `${FACEAPIURL}/subPlanEntry/queryDetail`,
        method: 'post',
        data
    })
}


//物资设备采购计划表

/**
 * 查询物资设备采购策划表详情
 * @param data
 */
export function schemeQueryPlanSubSelectDetail(data) {
    return request({
        url: `${FACEAPIURL}/schemeMaterialEquipment/queryPlanSubSelectDetail`,
        method: 'post',
        data
    })
}
/**
 * 修改物资设备采购策划表
 * @param data
 */
export function schemeUpdateByPrimaryKeySelective(data) {
    return request({
        url: `${FACEAPIURL}/schemeMaterialEquipment/updateByPrimaryKeySelective`,
        method: 'post',
        data
    })
}


//资金策划表

/**
 * 获取资金策划表信息
 * @param data
 */
export function schemeQuerySchemeFundPlanDetail(data) {
    return request({
        url: `${FACEAPIURL}/schemeFundPlan/querySchemeFundPlanDetail`,
        method: 'post',
        data
    })
}
/**
 * 批量修改资金策划表
 * @param data
 */
export function schemeFundPlanUpdateList(data) {
    return request({
        url: `${FACEAPIURL}/schemeFundPlan/updateList`,
        method: 'post',
        data
    })
}

//资金策划表

/**
 * 获取重大技术方案表信息
 * @param data
 */
export function querySchemeMajorTechnicalPlanDetail(data) {
    return request({
        url: `${FACEAPIURL}/schemeSchemeMajorTechnicalPlan/querySchemeMajorTechnicalPlanDetail`,
        method: 'post',
        data
    })
}
/**
 * 批量修改重大技术方案表对象
 * @param data
 */
export function schemeSchemeMajorTechnicalPlanUpdateList(data) {
    return request({
        url: `${FACEAPIURL}/schemeSchemeMajorTechnicalPlan/updateList`,
        method: 'post',
        data
    })
}
